<h3>Laporan</h3>
<table>
    <tr><th>No.</th><th>Waktu Laporan</th><th>No Toilet</th><th>Sekolah</th><th>Isi Laporan</th><th>Pelapor</th></tr>
    <?php
    $this->load->library('tgl_indo');
    $tgl = new tgl_indo();
    $i=0;
    foreach ($query->result_array() as $row) {
        
		echo '<tr><td>'.($i+1).'</td><td>' .$tgl->konversi($row['waktu_laporan']) . '</td><td>' .
        $row['no_toilet'] . '</td><td>' .
                
//        anchor('winsys/laporan_sekolah/'.$row['sekolah.id_sekolah'], $row['nama_sekolah']) . '</td><td>' .
        $row['nama_sekolah'] . '</td><td>' .
        $row['jenis_laporan'] . '</td><td>' .
//        anchor('winsys/laporan_user/'.@$row['user.id_user'], $row['pelapor']) . '</td></tr>';
        $row['pelapor'] . '</td></tr>';
		$i++;
    }
    ?>
</table>
